<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags"  prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
${msg}
<s:form action="login" >
<s:textfield name="userInfo.username" label="用户账户" value="admin"/>
<s:password name="userInfo.password" label="用户密码" value="123456"/>
<s:select name="userInfo.roleId" label="请选择角色" list="#{'0':'普通用户','1':'管理员'}"></s:select>
<s:submit value="submit" name="btn1"/>
</s:form>
</body>
</html>